<div class="page-title" style="z-index: 780;">
    <div class="in" style="z-index: 770;">
        <div class="titlebar" style="z-index: 760;">	
            <h2>{$langs.HEADING_NEW_SECURITY_QUESTION}</h2>	
        </div>

    </div>
</div>

<div class="content" style="z-index: 730;">
    {include file="$_TEMPLATE_SOURCE_DIR/modules/validate_error.tpl" }
    <form action="{$link_new_security_question}" method="post" name="frmNew" >
        <input type="hidden"  name="action" value="process" />
        <table class="form">	
            <tr><td colspan="2">
                    <ul id="infotabs" class="shadetabs">
                        {section name=languageidx loop=$languages}	
                        <li><a href="#" rel="language{$languages[languageidx].id}" {if languageudx==0} class="selected" {/if} ><img src="{dev_get_image_source name=$languages[languageidx].image}"  alt="{$languages[languageidx].name}" border="0"/></a></li>
                        {/section}		
                    </ul>

                    <div style="border: 1px solid green; padding: 10px; width: 100%; margin-bottom: 1em;">
                        {section name=languageidx loop=$languages}	
                        {assign var="langid" value=$languages[languageidx].id}
                        <div style="display: none;" id="language{$langid}" class="tabcontent">
                            <table width="100%" border="0"  cellpadding="2" cellspacing="5">
                                <tr><td class="main"  width="100">{$langs.TEXT_SECURITY_QUESTION_NAME}*</td>
                                    <td><input name="security_questions_name[{$langid}]" type="text" value="{$security_questions_name[$langid]}" size="30"  /></td></tr>			
                            </table>
                        </div>
                        {/section}
                    </div>
                </td></tr>	
            <tr>
                <td>{$langs.TEXT_SECURITY_QUESTION_SORT_ORDER}</td>
                <td><input name="sort_order" type="text" id="sort_order" value="{$sort_order}" size="5"></td>
            </tr>
            <tr>
                <td>{$langs.TEXT_SECURITY_QUESTION_STATUS}</td>
                <td>{html_radios name="status" options=$status_options selected=$status separator="<br /><br />"}</td>
            </tr>     	 

            <tr>
                <td>&nbsp;</td>
                <td>
                    <input type="submit" name="Submit" value="{$BUTTON_SUBMIT}" class="st-button">
                    <input type="button" name="btnCancel" value="{$BUTTON_CANCEL}" onClick="window.location	='{$back_link}';" class="st-clear">
                </td>
            </tr>
        </table>
    </form>	
</div>

{literal}
<script type="text/javascript">
    var infos=new ddtabcontent("infotabs")
    infos.setpersist(true)
    infos.setselectedClassTarget("link") //"link" or "linkparent"
    infos.init()
</script>
{/literal}